-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
fix: restore snap and imported srps when changing password #15237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good to me. Once we get some clarity on the UX "issues" then we can move forward. Unless we feel that the account name changes are a blocker then more code chages will be required.
Issue 1) That is fine for now given the issue we're trying to solve. I'll make note of it in a ticket |
Issue 2) We accept the wonky indexing here given the problem we are trying to solve. Spoke about this with @montelaidev and we would need additional logic. Given we will have more structured hierarchies in ~1 month, I am not as worried about this problem in the immediate term. Especially since it is not a well-worn user flow |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #15237 +/- ##
==========================================
+ Coverage 68.98% 69.06% +0.08%
==========================================
Files 2408 2409 +1
Lines 51681 51728 +47
Branches 7779 7777 -2
==========================================
+ Hits 35652 35727 +75
+ Misses 13737 13709 -28
Partials 2292 2292 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Description
This PR adds the restoration of first party snap accounts and imported srps when changing password.
Changes:
restoreImportedSrp
restoreSnapAccounts
to Vault.js and updated the change password logic to use these.Related issues
Fixes: #15258
Fixes: #15233
Resolves: https://consensyssoftware.atlassian.net/browse/MMMULTISRP-208?atlOrigin=eyJpIjoiMmM0MDMzNDRlYzdlNDJmZTg3ODNhMzUzNzlkOWZmZDIiLCJwIjoiaiJ9
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist